extends EnemyBase

func take_damage(attack_val,_bullet_dir):
	if _is_red:
		get_tree().current_scene.add_prop()
		set_is_red(false)
	hp-=attack_val
	if hp<=20:
		$AnimatedSprite.play("RunYellow")
	elif hp<=10:
		$AnimatedSprite.play("RunWhite")
	if hp<=0:
		die()
